package com.xnyzc.lhy.mis.controller.cmsapi.user;

import com.xnyzc.lhy.common.entity.Rv;
import com.xnyzc.lhy.mis.entity.param.cms.user.CmsEvaluationParam;
import com.xnyzc.lhy.mis.service.cms.user.CmsEvaluationManageService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**司机用户评价列表
 * @author conglijuan
 * @date 2019-08-22 10:42
 */
@RestController
@RequestMapping("cmsapi/evaluation")
public class CmsEvaluationManageController {


    @Autowired
    private CmsEvaluationManageService cmsEvaluationManageService;

    /**
     * 获取司机用户评价列表列表
     *
     * @param cmsEvaluationParam:
     * @return
     */
    @PostMapping(value = "getCmsEvaluationList")
    public Rv getCmsEvaluationList(@RequestBody CmsEvaluationParam cmsEvaluationParam){
        return cmsEvaluationManageService.getCmsEvaluationList(cmsEvaluationParam);
    }

}
